package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2023/12/13 15:52
 * @description:
 */
public class HomePosterApi implements IRequestApi {
    private String type;
    private String region_id;

    public HomePosterApi setType(String type) {
        this.type = type;
        return this;
    }

    public HomePosterApi setRegion_id(String region_id) {
        this.region_id = region_id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/attach/v2/poster/getList";
    }
    public static class Bean{

        private List<AdvertDTO> advert;
        private List<SwiperDTO> swiper;
        private NoticeDTO notice;
        private List<BottomListDTO> bottom_list;

        public List<AdvertDTO> getAdvert() {
            return advert;
        }

        public void setAdvert(List<AdvertDTO> advert) {
            this.advert = advert;
        }

        public List<SwiperDTO> getSwiper() {
            return swiper;
        }

        public void setSwiper(List<SwiperDTO> swiper) {
            this.swiper = swiper;
        }

        public NoticeDTO getNotice() {
            return notice;
        }

        public void setNotice(NoticeDTO notice) {
            this.notice = notice;
        }

        public List<BottomListDTO> getBottom_list() {
            return bottom_list;
        }

        public void setBottom_list(List<BottomListDTO> bottom_list) {
            this.bottom_list = bottom_list;
        }

        public static class NoticeDTO {
            private ImportantDataDTO importantData;
            private List<NewTimeDataArrDTO> newTimeDataArr;

            public ImportantDataDTO getImportantData() {
                return importantData;
            }

            public void setImportantData(ImportantDataDTO importantData) {
                this.importantData = importantData;
            }

            public List<NewTimeDataArrDTO> getNewTimeDataArr() {
                return newTimeDataArr;
            }

            public void setNewTimeDataArr(List<NewTimeDataArrDTO> newTimeDataArr) {
                this.newTimeDataArr = newTimeDataArr;
            }

            public static class ImportantDataDTO {
                private Integer id;
                private String title;
                private String path;
                private Integer url_type;
                private String lable;

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getPath() {
                    return path;
                }

                public void setPath(String path) {
                    this.path = path;
                }

                public Integer getUrl_type() {
                    return url_type;
                }

                public void setUrl_type(Integer url_type) {
                    this.url_type = url_type;
                }

                public String getLable() {
                    return lable;
                }

                public void setLable(String lable) {
                    this.lable = lable;
                }
            }

            public static class NewTimeDataArrDTO {
                private Integer id;
                private String title;
                private String path;
                private Integer url_type;
                private String lable;

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getPath() {
                    return path;
                }

                public void setPath(String path) {
                    this.path = path;
                }

                public Integer getUrl_type() {
                    return url_type;
                }

                public void setUrl_type(Integer url_type) {
                    this.url_type = url_type;
                }

                public String getLable() {
                    return lable;
                }

                public void setLable(String lable) {
                    this.lable = lable;
                }
            }
        }

        public static class AdvertDTO {
            private Integer id;
            private String img;
            private String path;
            private Integer type;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }
        }

        public static class SwiperDTO {
            private Integer id;
            private String img;
            private String path;
            private Integer type;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }
        }

        public static class BottomListDTO {
            private Integer id;
            private String img;
            private String path;
            private Integer type;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }
        }
    }
}
